package com.first.common.pojo;

import java.io.Serializable;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.Length;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 专区课程关联表
* @TableName tb_zone_course
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "专区课程添加")
@TableName(value = "tb_zone_course")
public class TbZoneCourse implements Serializable {

    /**
    * 主键
    */
    @ApiModelProperty("主键")
    private String id;
    /**
    * 创建时间
    */
    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private LocalDateTime gmtCreate;
    /**
    * 修改时间
    */
    @ApiModelProperty("修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private LocalDateTime gmtModified;
    /**
    * 状态(1:正常;0:禁用)
    */
    @ApiModelProperty("状态(1:正常;0:禁用)")
    private Integer isDisable;
    /**
    * 排序
    */
    @ApiModelProperty("排序")
    private Integer isDeleted;
    /**
    * 专区编号
    */
    @ApiModelProperty("专区编号")
    private String zoneId;
    /**
    * 课程ID
    */
    @ApiModelProperty("课程ID")
    private String courseId;

}
